﻿@{
    ViewBag.Title = "消费记录";
    ViewBag.MenuIndex = 3;
}

@model IPagedList<Xwork.SEO.SeoLog>
<div class="ny">
    <div class="ny_kb9"></div>
    <table id="myTable" style="width:990px; margin-bottom:10px;" class="tablesorter" border="0" cellpadding="0" cellspacing="0">
    	<thead>
        	<tr class="even">
                <th><h3>搜索引擎</h3></th>
                <th><h3>关键词</h3></th>
                <th><h3>页码</h3></th>
                <th><h3>排名</h3></th>
                <th><h3>费用</h3></th>
                <th><h3>所属站点</h3></th>
                <th><h3>创建日期</h3></th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr class="even">
                <td>@item.SearchEngine.Name</td>
                <td>@item.SeoKeyword.KeywordName</td>
                <td>@item.PageIndex</td>
                <td>@item.RowIndex</td>
                <td>@item.Amount</td>
                <td><a target="_blank" href="@("http://"+item.SeoKeyword.SeoSite.SiteUrl)">@item.SeoKeyword.SeoSite.SiteUrl</a></td>
                <td>@item.CreateTime.ToShortDateString()</td>
                </tr>
            }
        </tbody>
    </table>
    <div style="text-align:right;">
        @Html.PagedListPager(Model, p => Url.Action("userlist", new { pageindex = p }))
    </div>
</div>
